package spring.cloud.service.task.analyzer;

import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import spring.cloud.tasks.common.task.TaskItemRenewalNodeInfo;

import java.util.ArrayList;
import java.util.List;

@Slf4j
@Setter
@Getter
public class TimeoutTask extends AlarmTask {

    private int timeout4AlarmSeconds;

    private List<TaskItemRenewalNodeInfo> taskInstanceAndTaskItemList = new ArrayList<TaskItemRenewalNodeInfo>();

    public TimeoutTask() {
    }

    public TimeoutTask(String domainName, String taskId) {
        super(domainName, taskId);
    }
}
